home *** CD-ROM | disk | FTP | other *** search
/ Network Supervisor's Toolkit / Network Supervisor's Toolkit.iso / users / showuser / su.doc < prev    next >
Text File  |  1996-07-10  |  5KB  |  168 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.                   SHOWUSER
  16.  
  17.  
  18.                 User Manual
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.                     Copyright (c) Danmar Systems Inc
  46.  
  47.  
  48.                         Danmar Systems Inc.
  49.                         6031 SW 128 Ct.
  50.                         Miami, Fl 33183
  51.  
  52.  
  53.  
  54. SHOWUSER is a Netware(tm) utility that allows the supervisor of the
  55. network to display all the users in the bindery file of a file server
  56. and delete users who fall into certain categories. It also allows the
  57. supervisor to reset the accounting balance for each user. It displays
  58. the user's name, their last login date and time, their full name, and
  59. what their balance is. It can display all the users in the bindery or
  60. only certain ones that match a certain criteria. It also allows the
  61. supervisor to delete all users who fall into these same conditions.
  62. For example, all users that haven't logged in since a certain time
  63. can be deleted as well as all users that have a certain name.
  64.  
  65. The syntax for SHOWUSER is as follows.
  66.  
  67. SU {username} {options}
  68.  
  69. where {username} is any valid Novell user name. It can include the wildcard
  70. value (*) as part of the name. If none is entered, the programs displays all
  71. users on the current server.
  72.  
  73. The possible values for {options} are:
  74.  
  75. /L:DATE    --> Displays users that have NOT logged in since DATE.
  76. /R         --> Removes all users that match above criteria.
  77. /F         --> Display list as comma separated variable length records.
  78. /B:BALANCE --> Resets account balance to BALANCE.
  79. /?         --> Displays a help screen.
  80.  
  81. /*****************************************************************************/
  82. /***********                     '/L' option.                                */
  83. /*****************************************************************************/
  84.  
  85. The '/L' option ( short for 'Logged') can be used to display users that
  86. have 'NOT' logged in since a certain date. For example, to display
  87. all users that have not logged in since January 1 of 1991, you could 
  88. type in the following command line:
  89.  
  90. SU /L:01/01/91
  91.  
  92. Notice that the date must be typed in as MM/DD/YY. For example, if the 
  93. date wanted is August 4, 1990 it must be entered as 08/04/90 and not
  94. 8/4/90. 
  95.  
  96.  
  97. /*****************************************************************************/
  98. Note:
  99. /*****************************************************************************/
  100.  
  101. /*****************************************************************************/
  102. /***********                     '/R' option.                                */
  103. /*****************************************************************************/
  104.  
  105. The '/R' is particularly helpful for deleting users that have not logged
  106. in recently. For example, if you were the supervisor and wanted to delete
  107. all users that have not logged in since August 1 of 1990, you could
  108. type in the line:
  109.  
  110. SU /L:08/01/90 /R
  111.  
  112. This would search for all users that have not logged in since August 1
  113. of 1990 and would prompt you to delete them. If you type in 'Y' at the
  114. prompt, the user will be deleted from the bindery file permanently so
  115. be very careful when using this option. This option can be combined with
  116. the '/L' and '/D' command. 
  117.  
  118. The safest thing to do is type in your request without the '/R' command 
  119. to see everyone that will be deleted and then issue the same command 
  120. but with the '/R' option.
  121.  
  122. /*****************************************************************************/
  123. /***********                     '/F' option.                                */
  124. /*****************************************************************************/
  125.  
  126. The '/F' parameter is used to make the program display the output in a way
  127. that can be redirected to a file and imported into a database. If the
  128. output of the line 'su' is as follows:
  129.  
  130.  
  131. User              Last Login Time         Full Name          Balance
  132. ----              ---------------         ---------          -------
  133. SUPERVISOR        09/07/91 08:40:28 P.M.  The Supervisor     100
  134. GUEST             09/02/91 11:11:46 A.M.  Guest on Server1   500
  135. DANNY             09/03/91 06:55:40 P.M.  Daniel Dow         300
  136. TEMPUSER          00/00/00 00:00:00 A.M.  Temporary User     0
  137.  
  138. then the output of 'SU /f' will look like this:
  139.  
  140. "SUPERVISOR","09/07/91","08:40:28 P.M.","The Supervisor",100
  141. "GUEST","09/02/91","11:11:46 A.M.","Guest on Server1",500
  142. "DANNY","09/03/91","06:55:40 P.M.","Daniel Dow",300
  143. "TEMPUSER","00/00/00","00:00:00 A.M.","Temporary User",0
  144.  
  145. This is very useful if you need to generate reports of the usage of the 
  146. server. You could redirect the output to a file with the command line:
  147.  
  148. SU /f > user.txt
  149.  
  150. and then import the file 'user.txt' into your database program. You
  151. could then determine who is logging into the server and who is not.
  152.  
  153. /*****************************************************************************/
  154. /***********                     '/B' option.                                */
  155. /*****************************************************************************/
  156.  
  157. The '/B' parameter is used reset the accounting balance used by Netware.
  158. The syntax is /B:balance. Once this option is invoked, the program will
  159. prompt the supervisor whether to reset the balance or not.
  160.  
  161. For example, the line:
  162.  
  163. SU A* /B:1000
  164.  
  165. would reset the balance for all users whose name starts with 'A'. It will
  166. only reset the balance after the supervisors verifies each name.
  167.  
  168.